package com.uyaer.duobao163.zflex;


public class Logger {
	public static final String VALUE_SUPRESSED = "** [Value Suppressed] **";
	 
	public static Logger getLogger(Class<?> clazz) {
		return new Logger();
	}
	
	public static Logger getLogger(String clazz) {
		return new Logger();
	}
	
	 /**
     * @exclude
     * Returns the current target level for the Log.
     */
    public static short getTargetLevel()
    {
        return LogEvent.NONE;
    }
	
	public boolean isDebugEnabled() {
		return false;
	}
	
	public void debug(Object obj) {
		System.out.println(obj);
	}
	
	public void debug(Object obj, Throwable e) {
		System.out.println(obj + e.getMessage());
	}
	
	public void error(Object obj) {
		System.out.println(obj);
	}
	
	public void info(Object obj) {
		System.out.println(obj);
	}
	
	public void warn(Object obj) {
		System.out.println(obj);
	}
	
	public void warn(Object obj, Exception ex) {
		System.out.println(obj + ex.getMessage());
	}
	
	public void fatal(Object obj) {
		System.out.println(obj);
	}
	
	public void fatal(Object obj, Exception ex) {
		System.out.println(obj + ex.getMessage());
	}
}
